<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%@ page import="com.cr.model.Customer"%>
<%
	Customer customer=null;
	if(session.getAttribute("customer")!=null)
	{
		 customer=(Customer)session.getAttribute("customer");
	}
%>
<div id="header">
	<%
		if(customer==null)
		{
	 %>
	 	<div>
			<span><a href="login.jsp">Login</a></span>
			<span><a href="register.jsp">Register</a></span>
			<span><a href="index.jsp">Home</a></span>
		</div>
	 <%
	 	}
	 	else
	 	{
	  %>
	  	<div>
			<span><a href="handler?action=logout">Quit</a></span>
			<span><a href="myorder.jsp">MyOrders</a></span>
			<span><a href="index.jsp">Home</a></span>
		</div>
	  <%
	  	}
	   %>
</div>